package top.zhimingw.mapper;

import org.apache.ibatis.annotations.Mapper;
import top.zhimingw.pojo.Front;

/**
 * @InterfaceName FrontMapper
 * @Description (Front)表数据库访问层
 * @Author:zhimingw
 * @Version 1.0
 * @since 2021/6/1 16:49
 */
@Mapper
public interface FrontMapper {
    /**
    * @Description: 查询单条数据
    * @Param: [id]
    * @return: top.zhimingw.pojo.Front
    * @Author: zhimingw
    * @Date: 2021/6/1
    */
    Front queryById(Integer id);
    
    /**
    * @Description: 修改Front,根据 front 的主键修改数据
    * @Param: [front]
    * @return: int
    * @Author: zhimingw
    * @Date: 2021/6/1
    */
    int update(Front front);
}
